package com.pmcc.core.repository;

import com.pmcc.core.config.utils.AntPageRequest;
import com.pmcc.core.entity.security.Authority;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
/**
 * Created by syk on 17/6/23.
 */
public interface AuthorityRepository extends JpaRepository<Authority, String> {
    /*List<Authority> findByparentId(String id);
    Page<Authority> findByparentIdOrId(String parentId,String id,Pageable var1);
    List<Authority> findById(String id);
    List<Authority> findByParentId(String parentId);
    Page<Authority> findByparentId(Pageable var1,String parentId);*/
}
